
#define _PRINTERINTERFACE_MOUDEL_

#include "ptinterface.h"
#include "printer.h"

#include "printercom.h"
#include "printerwhe361.h"
#include "printerr021.h"
#include "printerwhaa.h"

extern TIME_Type   TimeCur;

void PrintData()
{
	PtCnt ++;
 	switch(PtType)
	{
		case PRINTER_WH_AA:
			switch(PtDataType)
			{
				case PT_DATA_TEM_AND_HUM:
				case PT_DATA_TEM_AND_COL:
					Pt_WHAA_PrintForHum();
					break;
				case PT_DATA_TEM:
					Pt_WHAA_PrintForTem();
					break;
				case PT_DATA_TEM_AND_SPD:
					Pt_WHAA_PrintForSpd();
					break;
				default:
					break;
			}
		break;
		case PRINTER_WH_E361:
			switch(PtDataType)
			{
				case PT_DATA_TEM_AND_HUM:
				case PT_DATA_TEM_AND_COL:
					Pt_WH_E361_PrintForHum();
					break;
				case PT_DATA_TEM:
					Pt_WH_E361_PrintForTem();
					break;
				case PT_DATA_TEM_AND_SPD:
					Pt_WH_E361_PrintForSpd();
					break;
				default:
					break;
			}
		break;
		case PRINTER_R021:
			switch(PtDataType)
			{
				case PT_DATA_TEM_AND_HUM:
				case PT_DATA_TEM_AND_COL:
					Pt_R021_PrintForHum();
					break;
				case PT_DATA_TEM:
					Pt_R021_PrintForTem();
					break;
				case PT_DATA_TEM_AND_SPD:
					Pt_R021_PrintForSpd();
					break;
				default:
					break;
			}
		break;
		case PRINTER_Z021:

		break;
		case PRINTER_PS1:

		break;
		case PRINTER_PS2:
		break;
		default:
		break;
	}
 }


